/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

import java.io.Serializable;

/**
 *
 * @author thaidacvinh
 */
public class User implements Serializable {
    private int id;
    private String login_name;
    private String login_password;
    private String name;
    private String role;
    
    public User(int id, String login_name, String login_password, String name, String role) {
        this.id = id;
        this.login_name = login_name;
        this.login_password = login_password;
        this.name = name;
        this.role = role;
    }

    /**
     * @return the id
     */
    public int getId() {
        return id;
    }

    /**
     * @return the login_name
     */
    public String getLogin_name() {
        return login_name;
    }

    /**
     * @param login_name the login_name to set
     */
    public void setLogin_name(String login_name) {
        this.login_name = login_name;
    }

    /**
     * @return the login_password
     */
    public String getLogin_password() {
        return login_password;
    }

    /**
     * @param login_password the login_password to set
     */
    public void setLogin_password(String login_password) {
        this.login_password = login_password;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the role
     */
    public String getRole() {
        return role;
    }

    /**
     * @param role the role to set
     */
    public void setRole(String role) {
        this.role = role;
    }
}
